package com.qumitech.visualnovel.service.retain;

import com.qumitech.visualnovel.pubdef.dto.retain.RetainMessageDTO;

import java.util.HashMap;
import java.util.List;

public interface RetainMessageService {

    List<HashMap<String, Object>> listRetainMessages(Integer type, String title, String content, String orderBy, String orderType, int offset, int limit);

    int countRetainMessages(Integer type, String title, String content);

    void updateRetainMessages(RetainMessageDTO retainMessageDTO);

    void deleteRetainMessage(Integer id);
}
